package com.sina.common.util.bean;

import java.io.Serializable;

/**
 * 首付选择
 */
public class DownPayment implements Serializable {

    /**
     * 未选中
     */
    public static final int TYPE_UNSELECT = 0;
    /**
     * 选中
     */
    public static final int TYPE_SELECT = 1;
    /**
     * 不可选中
     */
    public static final int TYPE_NOSELECT = -1;

    /**
     * 首付百分比
     */
    private int proportion;

    /**
     * 百分比对应的金额
     */
    private int money;

    /**
     * 是否选中
     */
    private int type;

    public DownPayment(int proportion, int money, int type) {
        this.proportion = proportion;
        this.money = money;
        this.type = type;
    }

    public int getProportion() {
        return proportion;
    }

    public void setProportion(int proportion) {
        this.proportion = proportion;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
